<div id="gallery-content-container" class="gallery-container-div clearfix">
  <div id="jcarousel-list">
    <ul id="gallery-carousel">
      <?php foreach ($videos['items'] as $delta=>$value) : ?>
        <?php
          /* Used "Rendered file" formatter to render video */
          $videos['display']['type'] = 'file_rendered';  // needed because the custom formatter--once selected replacing this value that this module needs
          $videos['display']['settings']['file_view_mode'] = $videos['file_view_mode'];  // needed again because custom formatter doesn't have this setting
          $element = file_entity_field_formatter_view($videos['entity_type'], $videos['entity'], $videos['field'], $videos['instance'], $videos['langcode'], $videos['items'], $videos['display']);
        ?>
        <li><?php print drupal_render($element[$delta])?>
        </li>
      <?php endforeach;?>
    </ul>
  </div>
   <div id="gallery-navigation" class="gallery-navigation">
        <div class="float-left previous">&nbsp;</div>
	<div class="float-right next">&nbsp;</div>
      </div>
</div>